import 'package:uuid/uuid.dart';

class UuidGenerator {
  factory UuidGenerator() {
    return _instance;
  }

  const UuidGenerator._internal();

  static const _instance = UuidGenerator._internal();
  static const _uuid = Uuid();

  String generateUuid() {
    return _uuid.v4();
  }
}